import java.awt.Container;
import java.awt.GridBagConstraints;
import java.awt.GridBagLayout;
import java.awt.Insets;

@SuppressWarnings("serial")
public class Absolute extends Ventana{

	Container content;
	GridBagLayout grid;	
	
	//OK Vista de la ventana Absolute
	public void Vista(){
		
		GridBagConstraints constraints = new GridBagConstraints();
		content=panel.getContentPane();
		grid=new GridBagLayout();
		content.setLayout(grid);	
		constraints.fill = GridBagConstraints.BOTH;
		
		// Colocacion de los elementos
		constraints.gridx=0;
		constraints.gridy=0;
		constraints.gridheight=1;
		constraints.gridwidth=1;
		constraints.anchor = GridBagConstraints.WEST; //Alinea a la izquierda
		constraints.insets=new Insets(4,6,64,8);
		content.add(texto,constraints);
		
		constraints.gridx=1;
		constraints.gridy=0;
		constraints.gridheight=1;
		constraints.gridwidth=1;
		constraints.anchor = GridBagConstraints.EAST; 
		constraints.insets=new Insets(4,6,64,8);
		content.add(toke,constraints);
		
		constraints.gridx=0;
		constraints.gridy=2;
		constraints.gridheight=1;
		constraints.gridwidth=1;
		constraints.anchor = GridBagConstraints.CENTER; 
		constraints.insets=new Insets(4,6,84,8);
		content.add(combo,constraints); 
		
		
		constraints.gridx=0;
		constraints.gridy=4;
		constraints.gridheight=1;
		constraints.gridwidth=1;
		constraints.anchor = GridBagConstraints.WEST; //Alinea a la izquierda
		constraints.insets=new Insets(4,6,4,18);
		content.add(seleccion,constraints);
		
		constraints.gridx=1;
		constraints.gridy=4;
		constraints.gridheight=1;
		constraints.gridwidth=1;
		constraints.anchor = GridBagConstraints.WEST;
		constraints.insets=new Insets(4,6,4,18);
		content.add(tokens,constraints);              

		this.setContentPane(content);
		this.setTitle("AbsoluteLayout");
	}
}
